widget: Remove gtk_widget_draw()
authorBenjamin Otte <otte@redhat.com>
Mon, 2 Apr 2018 06:28:34 +0000 (08:28 +0200)
committerBenjamin Otte <otte@redhat.com>
Thu, 5 Apr 2018 12:56:39 +0000 (14:56 +0200)
commitc06a7906945e7483186577406f61f516448cc7bc
tree56645fdb86cfc15c69aa872e9ac0bdfbd18f6922
parent4a513b7800b8d8c98211ecc24bba4b0cba180ec1
widget: Remove gtk_widget_draw()

If you want to draw a widget to cairo today, you create a widget
paintable, snapshot it to a render node and then draw the render node to
cairo.

And yes, this is that complicated on purpose. Don't draw widgets to
Cairo.
docs/reference/gtk/gtk4-sections.txt
gtk/gtkwidget.c
gtk/gtkwidget.h